home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Resources / Developer & Web Development Tools / Twistpad 1.64 / Setup.exe / $APPDATA / Carthago / Twistpad / Syntax / csharp.sdf < prev    next >
Text File  |  2007-04-08  |  3KB  |  139 lines

  1. ;C# Syntax highlight Script for Twistpad
  2. ;1998 - 2007 ⌐ Carthago Software
  3.  
  4. [::Header::]
  5. SyntaxName=C Sharp
  6. Extensions=cs
  7. functions=\b(bool|byte|sbyte|char|short|ushort|int|uint|long|ulong|float|double|decimal|void)\b(.*)(\(.*\))($|[^;$])
  8. FunctionSubs=$2
  9. Spelling=0
  10. SpellingContexts=1;2;3;4
  11. CommentChar=//
  12.  
  13. [ssComment1]
  14. Type=StartStop
  15. Context=1
  16. Scope=0
  17. Priority=9
  18. WholeWordOnly=0
  19. First=/*
  20. Last=*/
  21. Background=Default
  22. Foreground=008000
  23. escapeChar=\
  24. outline=1
  25.  
  26. [ssComent2]
  27. Type=StartStop
  28. Context=1
  29. Scope=0
  30. Priority=10
  31. WholeWordOnly=0
  32. First=///
  33. Last=
  34. Background=Default
  35. Foreground=008000
  36. escapeChar=\
  37.  
  38. [ssComent3]
  39. Type=StartStop
  40. Context=1
  41. Scope=0
  42. Priority=9
  43. WholeWordOnly=0
  44. First=//
  45. Last=
  46. Background=Default
  47. Foreground=008000
  48. escapeChar=\
  49.  
  50. [ssStrings2]
  51. Type=StartStop
  52. Context=3
  53. Scope=0
  54. Priority=9
  55. WholeWordOnly=0
  56. First="
  57. Last="
  58. Background=Default
  59. Foreground=408080
  60. escapeChar=\
  61.  
  62. [ssin_comment_tag]
  63. Type=StartStop
  64. Context=6
  65. Scope=4
  66. Priority=10
  67. WholeWordOnly=0
  68. First=<
  69. Last=>
  70. Background=Default
  71. Foreground=808080
  72.  
  73. [ssRegions]
  74. Type=StartStop
  75. Context=7
  76. Scope=0
  77. Priority=5
  78. WholeWordOnly=1
  79. First=#region
  80. Last=#endregion
  81. Background=Default
  82. Foreground=Default
  83. Outline=1
  84. BeginParagraph=1
  85. smart=1
  86.  
  87. [ssBracket]
  88. Type=StartStop
  89. Context=7
  90. Scope=0
  91. Priority=5
  92. WholeWordOnly=1
  93. First={
  94. Last=}
  95. Background=Default
  96. Foreground=Default
  97. Outline=1
  98. smart=1
  99. BeginParagraph=0
  100.  
  101. [kKeywords]
  102. Type=keyword
  103. Context=100
  104. Scope=0
  105. Priority=7
  106. WholeWordOnly=1
  107. Keyword1=new;sizeof;typeof;checked;unchecked;abstract;as;base;bool;break;byte;case;catch;char;checked;class;const;continue;decimal
  108. Keyword2=default;delegate;do;double;else;enum;event;explicit;extern;false;finally;fixed;float;for;foreach;goto;if;implicit;in;int
  109. Keyword3=interface;internal;is;lock;long;namespace;new;null;object;operator;out;override;params;private;protected;public;readonly
  110. Keyword4=ref;return;sbyte;sealed;short;sizeof;stackalloc;static;string;struct;switch;this;throw;true;try;typeof;uint;ulong;unchecked
  111. Keyword5=unsafe;ushort;using;virtual;void;while;get;set
  112. Background=Default
  113. Foreground=0000FF
  114.  
  115. [kPreProcessors]
  116. Type=keyword
  117. Context=101
  118. Scope=0
  119. Priority=7
  120. WholeWordOnly=1
  121. Keyword1=#if;#else;#elif;#endif;#define;#undef;#warning;#error;#line;
  122. Keyword2=#region;#endregion
  123. Background=Default
  124. Foreground=0000FF
  125. BeginParagraph=1
  126.  
  127. [kslashcolor]
  128. Type=keyword
  129. Context=102
  130. Scope=4
  131. Priority=7
  132. WholeWordOnly=1
  133. Keyword1=///
  134. Background=Default
  135. Foreground=808080
  136. BeginParagraph=0
  137.  
  138.  
  139.